]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/network-agent: Wrap nm_plugin_info_new_search_file()
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 14 Mar 2020 20:51:33 +0000 (21:51 +0100)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 17 Mar 2020 14:07:15 +0000 (14:07 +0000)
commitea1adea24db659b2a37678e3276044d7dfa53d94
tree86efe87711ef2106407d5d7bbe159a6e4e07b28b
parenteb7533bbf14c9f53649323f147690636c89312a6
shell/network-agent: Wrap nm_plugin_info_new_search_file()

While we can use the libnm API directly from JS, the call will
synchronously load the VPN service descriptions from disk.
Previously we were lowering the impact by caching the result,
but as we stopped doing that, it becomes more important to address
the issue properly and move it off to a thread.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2386
src/shell-network-agent.c
src/shell-network-agent.h